package com.xtaller.sdboot.mapper;

import com.xtaller.sdboot.entity.IamUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* 代码生成 
* @author: Taller  
* @date: 2020-02-07 15:56:31
* @Description: 用户与角色关系中间表 
*/ 
public interface IamUserRoleMapper extends BaseMapper<IamUserRole> {
    @Update("delete from iam_user_role where userId=#{userId} and appId=#{appId}")
    boolean init(@Param("userId") String userId, @Param("appId") String appId);
} 
